#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>

int main()
{
	char arr1[] = "abcdef";
	char arr2[] = "******";
	char tmp = 0;
	int left = 0;
	while (arr1[left]!='\0')
	{
		tmp = arr1[left];
		arr1[left] = arr2[left];
		arr2[left] = tmp;
		left++;
	}
	printf("%s\n", arr1);
	printf("%s\n", arr2);
	return 0;
}